import request from '@/utils/request'

export const ruleList = (data: {}) => {
  return request({
    url: '/scrm-api/console/market/rule/list',
    method: 'POST',
    data
  })
}
export const delRule = (data: {}) => {
  return request({
    url: '/scrm-api/console/market/rule/del',
    method: 'POST',
    data
  })
}
export const enable = (data: any) => {
  return request({
    url: '/scrm-api/console/market/rule/enable',
    method: 'POST',
    data
  })
}
